package com.softeem.model;

import com.softeem.entity.Fans;
import com.softeem.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UserModel extends User {

    private Integer fans;

    @Override
    public String toString() {
        return "UserModel{" +super.toString()+
                "fans=" + fans +
                '}';
    }
}
